#ifndef __MPU6050_H__
#define __MPU6050_H__

#include <stdint.h>

typedef struct {
    struct {
        int16_t x;
        int16_t y;
        int16_t z;
    } accel;
    struct {
        int16_t x;
        int16_t y;
        int16_t z;
    } gyro;
} MPU6050_Data_t;

typedef struct i2c_data {
    uint8_t *send_buf;
    uint32_t send_len;
    uint8_t *receive_buf;
    uint32_t receive_len;
} i2c_data_t;

void MPU6050_Init(void);
void MPU6050_GetData(MPU6050_Data_t *data);

#endif